package li.entity;

import java.util.HashSet;
import java.util.Set;

public class User {

	private long id;

	private String username;
	private String password;
	private String stuId;
	private boolean idAdmin;

	private Set<Book> books = new HashSet<Book>();

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getStuId() {
		return stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}

	public Set<Book> getBooks() {
		return books;
	}

	public void setBooks(Set<Book> books) {
		this.books = books;
	}

	public boolean isIdAdmin() {
		return idAdmin;
	}

	public void setIdAdmin(boolean idAdmin) {
		this.idAdmin = idAdmin;
	}

}
